package sss.day5.innerclass;

/**
 * @author DingZhenYun
 * @create 2021-05-31 0:20
 */
public class Test {
    public Test() {
            Inner s1 = new Inner();
            s1.a = 10;
            Inner s2 = new Inner();
            s2.a =220;
            Test.Inner s3 = new Test.Inner();
         System.out.println(s3.a);
        }
        class Inner {
            public int a =5;
        }
        public static void main(String[] args ) {
            Test t = new Test();
            Inner r = t.new Inner();
            System.out.println(r.a);
        }
}
